/**************************************************
|	File:		CMagicProjectile.h
|	Author:		Benjamin Budian
|	Course:		SGD
|	Purpose:	MagicProjectile is a ball of energy fired from an entity
**************************************************/
#pragma once
#include "projectile.h"
#include "../SGD Wrappers/IListener.h"

class CCellAnimation;

class CMagicProjectile :
	public CProjectile
{
public:
	CMagicProjectile(int nFrameID);
	virtual ~CMagicProjectile(void);

	virtual void Update			( float fElapsedTime )	override;
	virtual void Render			( void )				override;

	virtual void SetOwner(CEntity* pOwner)				override;
	virtual void HandleEvent( CEvent* pEvent )	override;

	void SetDebugMode(bool bDebug) { m_bDebug = bDebug;}
private:
	CCellAnimation* m_MagicAnimation;

	bool m_bDebug;
};

